import Mock from 'mockjs'

Mock.mock('http://api.apiopen.top/login', 'post', () => {
    let userInfo = {
        name: 'admin',
        userId: 134
    }
    return userInfo;
})

Mock.mock('http://api.apiopen.top/logout', 'post', () => {
    let userInfo = {
        name: 'admin',
        userId: 134
    }
    return userInfo;
})

export default Mock